home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
wb
/
czesc_2
/
ml
/
man
/
dos
/
newshell
< prev
next >
Wrap
Text File
|
1993-01-23
|
3KB
|
73 lines
NEWSHELL(1) DOS COMMANDS NEWSHELL(1)
NAME
NEWSHELL : To start a new Shell.
SYNOPSIS
NEWSHELL [<window requirements>] [FROM <startup file>]
TEMPLATE
NEWSHELL "Window, From"
PATH
C:
DESCRIPTION
NEWSHELL starts a new SHELL process. Each SHELL has its own STACK
and its own priority. These values are passed to any programs started
directly from the SHELL or launched in the background with the RUN
command. NEWSHELL can perform input and output to and from any AmigaDOS
device. By default, NEWSHELL will open a NEWCON: window, but it is
possible to set the parameters for the NEWCON: window (position, size,
title) and it is also possible to use any device that can perform input
and output at the same time. For example, the AUX: device can be used to
execute command from a terminal connected to the serial port.
Before the prompt appears on the console window, NEWSHELL executes
the file S:Shell-Startup (if it exists). This is useful to set a few
parameters automatically, like the stack size for example, or even to
go to a given directory.
Every shell has its own set of aliases, but share resident
commands. To make aliases defined in every shell, the trick is to define
them in the Shell-startup file.
The SHELL has also a 2k circular buffer that retains the last
commands.
Here is a short description of the editing facilities in the
SHELL window:
<cursor up> : retrieved 1 line of command backward.
<cursor down> : retrieved 1 line of command forward.
<left cursor> : move 1 character to the left on command line.
<right cursor> : move 1 character to the right on command line.
<shift cursor up> : search partial string in history commands.
<CTRL-X> or <shift cursor down> : clear current line.
<CTRL-A> or <shift cursor left> : move to start of command line.
<CTRL-Z> or <shift cursor right> : move to end of command line.
<CTRL-K> : delete everything from cursor to end of line.
<CTRL-U> : delete everything from cursor to start of line.
OPTIONS
WINDOW: by default, NEWSHELL open a NEWCON: window of fixed size
and position. With this option it is possible to specify the
size and position of the window to use, as well as any AmigaDOS
device. The option is typically of the form:
NEWCON:Left/Top/Width/Height/Title
where Left,Top,Width and Height are expressed in pixel, and title
is the Window title. If a terminal is connected to the serial
port,
> NEWSHELL AUX:
starts a CLI that will perform its input and output through the
serial port.
FROM: by default, NEWSHELL looks for a script file called
S:SHELL-Startup. The script file is automatically executed before
the prompt appears on the console window. With this option,
NEWSHELL uses another file as its startup file.
A startup file is useful to set some parameters automatically,
like the stack size for example.
SEE ALSO
NEWCLI, ENDSHELL, STATUS.
EXAMPLES
> NEWSHELL NEWCON:0/0/600/150/My_Shell
> NEWSHELL FROM s:First_Shell